<template>
  <el-main>
    <div class="container"> 
      <AnimateItem :page="page" :url="'/api/work/sort'" />
    </div>
  </el-main>
</template>

<script>
import AnimateItem from "~/components/AnimateItem.vue";

export default {
  data() {
    return {
      array: null
    };
  },
  components: {
    AnimateItem
  },
  async asyncData({
    $axios,
    isDev,
    route,
    store,
    env,
    params,
    query,
    req,
    res,
    redirect,
    error
  }) {
    let { status, data } = await $axios.get("/api/work/sort");
    return { page: data };
  }
};
</script>

<style>
</style>